/**
 * 获取系统信息
 * 与 旧htm 比较
 * 缺失的 androidId, appVersionCode, appVersionName, ip, buildSerial
 * 额外的 language, version(微信版本号), platform, cameraAuthorized, phoneCalendarAuthorized, safeArea, locationReducedAccuracy(仅IOS), theme, host.appId, deviceOrientation
 */
export function getSystemInfo() {
	return new Promise(resolve => {
		wx.getSystemInfo({
			success (res) {
				console.log(res);
				resolve(res);
			},
			fail(err){
				resolve(err);
			}
		})
	})
}
